package com.practice.tkmybatis.service;

import com.practice.tkmybatis.dao.UserEntity;

import java.util.List;

/**
 * @Description : user服务接口
 * @Author : asus
 * @Version : xxx
 * @Date : 2021/6/8 23:12
 */
public interface UserService {
    public UserEntity findById(int id);

    public List<UserEntity> findAll();

    public void insert(UserEntity user);

    public void update(UserEntity user);

    public void delete(UserEntity user);
}
